package cn.zhfeat.hatch.dto.sysuser;

import java.io.Serializable;
import java.util.Date;
import cn.zhfeat.core.base.BaseDto;
import org.springframework.web.servlet.mvc.method.annotation.StreamingResponseBody;


public class SysUserDto extends BaseDto implements Serializable{
    
	private static final long serialVersionUID = 1L;
  
	/** mycat生成唯一id*/
    private Long id;

    /** 创建时间*/
    private Date createTime;

    /** 更新时间*/
    private Date updateTime;

    /** 创建人id*/
    private Long createUserId;

    /** 删除时间*/
    private Date deleteTime;

    /** 删除标记*/
    private Integer isDeleted;

    /** 手机号*/
    private String account;

    /** 固定电话*/
    private String phone;

    /** 密码*/
    private String pwd;

    /** 名称*/
    private String name;

    /** 邮箱*/
    private String email;

    /** 所属地区*/
    private String districtName;

    /** 行业*/
    private String industry;

    /** 企业*/
    private String company;

    /** 企业编码*/
    private String companyCode;

    /** 职位*/
    private String job;

    /** 爱好*/
    private String hobby;

    /** 编码*/
    private String code;

    /** 状态 0：正常；1：失效*/
    private Integer status;

    /** 部门编号*/
    private Long departmentId;

    /** 社交账号 json存储：类型、名称、绑定状态*/
    private String socialAccount;

    /** 头像*/
    private String avatar;

    /** 性别，m：男、f：女、n：未知*/
    private String gender;

    /** 账户停用时间*/
    private Date stopTime;

    /** 工号*/
    private String jobNumber;

    /** 账号到期时间*/
    private Date expiryTime;

    /** 移动端对应的身份 0老板 1店员*/
    private Integer appIdentity;

    /** 数据权限 0全部 1门店*/
    private Integer dataAuthority;

    /** 第三方token*/
    private String thirdToken;

    /** token失效时间*/
    private Date thirdTokenExpiryTime;

    /** 0：不同意(默认) 1：同意*/
    private Integer agreement;

    /** 用来表示初次登陆，0表示初次，1表示非初次*/
    private Integer isFirstLogin;

    /** access_token*/
    private String accessToken;

    /** 是否事超级管理员  0不是  1是*/
    private Integer isSuper;
    
    /** 企业ID 新增字段20180509  - ZhangHao*/
    private Long cid; 
    
    /** 用户业务身份(个人1、管理2、3个人无归属数据、4部门无归属数据) - ZhangHao*/
    private Integer userIdentity;
    
    
    
    private String keyWord; // 页面传递的手机号，或用户名，模糊查询使用 - Yangcl
    
    private String roleName; // 角色名称，查询使用 - ZhangHao
    
    private String departmentName; //部门名称，查询使用 - ZhangHao
    
    private String orderBy; //排序使用
    
    //crm角色
    private String crmRoleID;
    //crm门店
    private String crmStoreID;
    
    private String oldPassword;//用户旧密码
    
    private Date startTime; //账号创建开始时间
    
    private Date endTime; //账号创建结束时间
    
    private String roleIds; //一组按逗号分隔的角色ID - ZhangHao
    
    private String userIds; //一组按逗号分隔的用户ID - ZhangHao
    
    private String responsibleStoreIds;  //用户选择的一组负责门店 - ZhangHao
    
    private String responsibleDepartmentIds; //用户选择的一组负责部门 - ZhangHao
    
    private Long storeId; //用户的所属门店
    
    private String codeType; //标记是否是验证码登录
    
    private Integer smsNum; //短信充值数量 - ZhangHao
    
    private String companyName; //公司名称 - ZhangHao
    
    private String companyAddress; //公司地址 - ZhangHao
    
    private String channel;    // 登录渠道。mobile | wechart  | ios | android

	/** 免登token*/
	private String exemptsToken;

	/** 免登token失效时间*/
	private Date exemptsTokenExpiryTime;
    
    
    
	public String getChannel() {
		return channel;
	}

	public void setChannel(String channel) {
		this.channel = channel;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Long getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(Long createUserId) {
		this.createUserId = createUserId;
	}

	public Date getDeleteTime() {
		return deleteTime;
	}

	public void setDeleteTime(Date deleteTime) {
		this.deleteTime = deleteTime;
	}

	public Integer getIsDeleted() {
		return isDeleted;
	}

	public void setIsDeleted(Integer isDeleted) {
		this.isDeleted = isDeleted;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getPwd() {
		return pwd;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getDistrictName() {
		return districtName;
	}

	public void setDistrictName(String districtName) {
		this.districtName = districtName;
	}

	public String getIndustry() {
		return industry;
	}

	public void setIndustry(String industry) {
		this.industry = industry;
	}

	public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	public String getCompanyCode() {
		return companyCode;
	}

	public void setCompanyCode(String companyCode) {
		this.companyCode = companyCode;
	}

	public String getJob() {
		return job;
	}

	public void setJob(String job) {
		this.job = job;
	}

	public String getHobby() {
		return hobby;
	}

	public void setHobby(String hobby) {
		this.hobby = hobby;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Long getDepartmentId() {
		return departmentId;
	}

	public void setDepartmentId(Long departmentId) {
		this.departmentId = departmentId;
	}

	public String getSocialAccount() {
		return socialAccount;
	}

	public void setSocialAccount(String socialAccount) {
		this.socialAccount = socialAccount;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public Date getStopTime() {
		return stopTime;
	}

	public void setStopTime(Date stopTime) {
		this.stopTime = stopTime;
	}

	public String getJobNumber() {
		return jobNumber;
	}

	public void setJobNumber(String jobNumber) {
		this.jobNumber = jobNumber;
	}

	public Date getExpiryTime() {
		return expiryTime;
	}

	public void setExpiryTime(Date expiryTime) {
		this.expiryTime = expiryTime;
	}

	public Integer getAppIdentity() {
		return appIdentity;
	}

	public void setAppIdentity(Integer appIdentity) {
		this.appIdentity = appIdentity;
	}

	public Integer getDataAuthority() {
		return dataAuthority;
	}

	public void setDataAuthority(Integer dataAuthority) {
		this.dataAuthority = dataAuthority;
	}

	public String getThirdToken() {
		return thirdToken;
	}

	public void setThirdToken(String thirdToken) {
		this.thirdToken = thirdToken;
	}

	public Date getThirdTokenExpiryTime() {
		return thirdTokenExpiryTime;
	}

	public void setThirdTokenExpiryTime(Date thirdTokenExpiryTime) {
		this.thirdTokenExpiryTime = thirdTokenExpiryTime;
	}

	public Integer getAgreement() {
		return agreement;
	}

	public void setAgreement(Integer agreement) {
		this.agreement = agreement;
	}

	public Integer getIsFirstLogin() {
		return isFirstLogin;
	}

	public void setIsFirstLogin(Integer isFirstLogin) {
		this.isFirstLogin = isFirstLogin;
	}

	public String getAccessToken() {
		return accessToken;
	}

	public void setAccessToken(String accessToken) {
		this.accessToken = accessToken;
	}

	public Integer getIsSuper() {
		return isSuper;
	}

	public void setIsSuper(Integer isSuper) {
		this.isSuper = isSuper;
	}

	public String getKeyWord() {
		return keyWord;
	}

	public void setKeyWord(String keyWord) {
		this.keyWord = keyWord;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getDepartmentName() {
		return departmentName;
	}

	public void setDepartmentName(String departmentName) {
		this.departmentName = departmentName;
	}

	public String getOrderBy() {
		return orderBy;
	}

	public void setOrderBy(String orderBy) {
		this.orderBy = orderBy;
	}

	public Long getCid() {
		return cid;
	}

	public void setCid(Long cid) {
		this.cid = cid;
	}

	public Integer getUserIdentity() {
		return userIdentity;
	}

	public void setUserIdentity(Integer userIdentity) {
		this.userIdentity = userIdentity;
	}

	public String getOldPassword() {
		return oldPassword;
	}

	public void setOldPassword(String oldPassword) {
		this.oldPassword = oldPassword;
	}

	public String getCrmRoleID() {
		return crmRoleID;
	}

	public void setCrmRoleID(String crmRoleID) {
		this.crmRoleID = crmRoleID;
	}

	public String getCrmStoreID() {
		return crmStoreID;
	}

	public void setCrmStoreID(String crmStoreID) {
		this.crmStoreID = crmStoreID;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public String getRoleIds() {
		return roleIds;
	}

	public void setRoleIds(String roleIds) {
		this.roleIds = roleIds;
	}

	public String getUserIds() {
		return userIds;
	}

	public void setUserIds(String userIds) {
		this.userIds = userIds;
	}

	public String getResponsibleStoreIds() {
		return responsibleStoreIds;
	}

	public void setResponsibleStoreIds(String responsibleStoreIds) {
		this.responsibleStoreIds = responsibleStoreIds;
	}

	public String getResponsibleDepartmentIds() {
		return responsibleDepartmentIds;
	}

	public void setResponsibleDepartmentIds(String responsibleDepartmentIds) {
		this.responsibleDepartmentIds = responsibleDepartmentIds;
	}

	public Long getStoreId() {
		return storeId;
	}

	public void setStoreId(Long storeId) {
		this.storeId = storeId;
	}

	public String getCodeType() {
		return codeType;
	}

	public void setCodeType(String codeType) {
		this.codeType = codeType;
	}

	public Integer getSmsNum() {
		return smsNum;
	}

	public void setSmsNum(Integer smsNum) {
		this.smsNum = smsNum;
	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public String getCompanyAddress() {
		return companyAddress;
	}

	public void setCompanyAddress(String companyAddress) {
		this.companyAddress = companyAddress;
	}

	public String getExemptsToken() {
		return exemptsToken;
	}

	public void setExemptsToken(String exemptsToken) {
		this.exemptsToken = exemptsToken;
	}

	public Date getExemptsTokenExpiryTime() {
		return exemptsTokenExpiryTime;
	}

	public void setExemptsTokenExpiryTime(Date exemptsTokenExpiryTime) {
		this.exemptsTokenExpiryTime = exemptsTokenExpiryTime;
	}
}